package com.oocl.myProject;

public class MyNode {
	MyNode pre;
	int data;
	MyNode next;
	public MyNode getPre() {
		return pre;
	}
	public void setPre(MyNode pre) {
		this.pre = pre;
	}
	public int getData() {
		return data;
	}
	public void setData(int data) {
		this.data = data;
	}
	public MyNode getNext() {
		return next;
	}
	public void setNext(MyNode next) {
		this.next = next;
	}
	public MyNode(MyNode pre,int num,MyNode next){
		this.pre=pre;
		this.data=num;
		this.next=next;
	}

}
